package cn.wen.yinxiu.member.server.protocol.talk;

import cn.wen.yinxiu.member.server.protocol.Command;
import cn.wen.yinxiu.member.server.protocol.Packet;
import lombok.AllArgsConstructor;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.util.Date;

/**
 * @ClassName: TalkNoticeResponse
 * @Author: 小飞
 * @Date: 2023/5/28 14:50
 * @Description: 对话通知应答
 */
@Data
@NoArgsConstructor
@AllArgsConstructor
public class TalkNoticeResponse extends Packet {

    /**
     * 对话框ID[好友ID、群ID]
     */
    private Long talkId;
    /**
     * 对话框名称[好友名称、群名称]
     */
    private String talkName;
    /**
     * 对话框头像[好友头像、群头像]
     */
    private String talkAvatar;
    /**
     * 消息简讯
     */
    private String talkSketch;
    /**
     * 消息时间
     */
    private Date talkTime;

    @Override
    public Byte getCommand() {
        return Command.TalkNoticeResponse;
    }

}
